package ink.xiaobaibai.bo;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description: 用户昵称和头像
 * @author: 小白白
 * @create: 2021-05-19
 **/

@Data
public class UserInfo {

    public UserInfo() {
    }

    public UserInfo(String userNickname, String userImage) {
        this.userNickname = userNickname;
        this.userImage = userImage;
    }

    @NotNull
    private String userNickname;

    @NotNull
    private String userImage;

}
